<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro"
      xmlns:form="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>用户提交健康报表页面</title>
    <link rel="stylesheet" th:href="@{bootstrap/css/bootstrap.css}" />
    <link rel="stylesheet" th:href="@{/assets/css/bootstrap.mincopy.css}">
    <link rel="stylesheet" th:href="@{/assets/css/font-awesome.min.css}">
    <link rel="stylesheet" th:href="@{/assets/css/metisMenu.css}">
    <link rel="stylesheet" th:href="@{/assets/css/typography.css}">
    <link rel="stylesheet" th:href="@{/assets/css/styles.css}">
</head>

<body>

        <div  class="container"  style="position:absolute;left:50%;margin-left:-250px;top:50%;margin-top:-190px">

            <form  th:object="${formInfo}" th:action="@{/user/post}" th:method="post" class="form form-horizontal">
                <p style="color:red">你今天还未打卡！</p>

                日期:<br>
                <div class="row">
                    <div class="col-md-12">
                        <input class="form-control " type="text" name="time" th:value="${date}"/>
                    </div>
                </div>


                <br>账号：<br>
                <div class="row">
                    <div class="col-md-5">
                        <input class="form-control" type="text" name="username" th:value="${formInfo.username}" placeholder="请输入姓名"  />
                    </div>
                </div>



                <br>姓名：<br>
                <div class="row">
                    <div class="col-md-5">
                        <input class="form-control" type="text" name="name" th:value="${formInfo.name}"   placeholder="请输入姓名" />
                    </div>
                </div>

                <br>电话：<br>
                <div class="row">
                    <div class="col-md-5">
                        <input class="form-control" type="text" name="phone" th:value="${formInfo.phone}"  placeholder="请输入11位电话号码" />
                    </div>
                </div>

                <br>当前所在城市：<br>
                <div class="row">
                    <div class="col-md-5">
                        <input class="form-control" type="text" name="location" th:value="${formInfo.location}"  placeholder="请输入你当前所在城市" />
                    </div>
                </div>

                <br>身体状况：<br>
                <div class="row">
                    <div class="col-md-5">
                        <input class="form-control" type="text" name="health" th:value="${formInfo.health}"   placeholder="良好或身体不适"/>
                    </div>
                </div>
                <br>
                <div class="row">
                    <div class="col-md-5">
                        <input class="form-control btn-info" type="submit" value="提交"   />
                    </div>
                </div>
            </form>


            <br>
            <button class="submit btn"><a th:href="@{/logout}" class="button">退出登录</a></button>


        </div>
</body>
</html>